<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Source: RosLib.js</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Source: RosLib.js</h1>

    


    
    <section>
        <article>
            <pre class="prettyprint source linenums"><code>/**
 * @author Russell Toris - rctoris@wpi.edu
 */

var ROSLIB = this.ROSLIB || {
  REVISION : '0.11.0'
};

var Ros = ROSLIB.Ros = require('./core/Ros');
ROSLIB.Topic = require('./core/Topic');
ROSLIB.Message = require('./core/Message');
ROSLIB.Param = require('./core/Param');
ROSLIB.Service = require('./core/Service');
ROSLIB.ServiceRequest = require('./core/ServiceRequest');
ROSLIB.ServiceResponse = require('./core/ServiceResponse');

ROSLIB.ActionClient = require('./actionlib/ActionClient');
ROSLIB.Goal = require('./actionlib/Goal');
ROSLIB.SimpleActionServer = require('./actionlib/SimpleActionServer');

ROSLIB.Pose = require('./math/Pose');
ROSLIB.Quaternion = require('./math/Quaternion');
ROSLIB.Transform = require('./math/Transform');
ROSLIB.Vector3 = require('./math/Vector3');

ROSLIB.TFClient = require('./tf/TFClient');

ROSLIB.UrdfBox = require('./urdf/UrdfBox');
ROSLIB.UrdfColor = require('./urdf/UrdfColor');
ROSLIB.UrdfCylinder = require('./urdf/UrdfCylinder');
ROSLIB.UrdfLink = require('./urdf/UrdfLink');
ROSLIB.UrdfMaterial = require('./urdf/UrdfMaterial');
ROSLIB.UrdfMesh = require('./urdf/UrdfMesh');
ROSLIB.UrdfModel = require('./urdf/UrdfModel');
ROSLIB.UrdfSphere = require('./urdf/UrdfSphere');
ROSLIB.UrdfVisual = require('./urdf/UrdfVisual');

// Add URDF types
require('object-assign')(ROSLIB, require('./urdf/UrdfTypes'));

['ActionClient', 'Param', 'Service', 'SimpleActionServer', 'Topic', 'TFClient'].forEach(function(className) {
    var Class = ROSLIB[className];
    Ros.prototype[className] = function(options) {
        options.ros = this;
        return new Class(options);
    };
});

module.exports = ROSLIB;
</code></pre>
        </article>
    </section>




</div>

<nav>
    <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="global.html#ActionClient">ActionClient</a></li><li><a href="Goal.html">Goal</a></li><li><a href="global.html#Message">Message</a></li><li><a href="Param.html">Param</a></li><li><a href="global.html#Pose">Pose</a></li><li><a href="Quaternion.html">Quaternion</a></li><li><a href="Ros.html">Ros</a></li><li><a href="global.html#Service">Service</a></li><li><a href="ServiceRequest.html">ServiceRequest</a></li><li><a href="global.html#ServiceResponse">ServiceResponse</a></li><li><a href="SimpleActionServer.html">SimpleActionServer</a></li><li><a href="TFClient.html">TFClient</a></li><li><a href="global.html#Topic">Topic</a></li><li><a href="Transform.html">Transform</a></li><li><a href="UrdfBox.html">UrdfBox</a></li><li><a href="global.html#UrdfColor">UrdfColor</a></li><li><a href="UrdfCylinder.html">UrdfCylinder</a></li><li><a href="UrdfLink.html">UrdfLink</a></li><li><a href="global.html#UrdfMaterial">UrdfMaterial</a></li><li><a href="UrdfMesh.html">UrdfMesh</a></li><li><a href="UrdfModel.html">UrdfModel</a></li><li><a href="UrdfSphere.html">UrdfSphere</a></li><li><a href="global.html#UrdfVisual">UrdfVisual</a></li><li><a href="global.html#Vector3">Vector3</a></li></ul><h3>Global</h3><ul><li><a href="global.html#assign">assign</a></li><li><a href="global.html#decompressPng">decompressPng</a></li><li><a href="global.html#EventEmitter2">EventEmitter2</a></li><li><a href="global.html#onclose">onclose</a></li><li><a href="global.html#onerror">onerror</a></li><li><a href="global.html#onmessage">onmessage</a></li><li><a href="global.html#onopen">onopen</a></li><li><a href="global.html#ROSLIB">ROSLIB</a></li><li><a href="global.html#RosTCP">RosTCP</a></li><li><a href="global.html#SocketAdapter">SocketAdapter</a></li><li><a href="global.html#UrdfTypes">UrdfTypes</a></li><li><a href="global.html#WebSocket">WebSocket</a></li></ul>
</nav>

<br clear="both">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha9</a> on Wed Feb 04 2015 09:12:20 GMT-0500 (EST)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
